def forgot_password
      klass = params[:type] || 'FastExt::MPerson'
      @user = klass.constantize.where(username:params[:username])
      random_password = Array.new(10).map { (65 + rand(58)).chr }.join
      @user.password = random_password
      @user.save!
      #Mailer.create_and_deliver_password_change(@user, random_password)
    end
def forgot_password
      klass = params[:type] || 'FastExt::MPerson'
      @user = klass.constantize.where(username:params[:username])
      random_password = Array.new(10).map { (65 + rand(58)).chr }.join
      @user.password = random_password
      @user.save!
      #Mailer.create_and_deliver_password_change(@user, random_password)
    end
assign them a random one and mail it to them, asking them to change it