fixed the update username function

The JS file doesnt need to be changed.

Index.rb doesn't need to be changed.

login.rb fixes an error message to say smoething meaningful

user.rb change makes the change username functionality work correctly.