Fix to the User #registered? method.
changes to the user.rb file
changes to the user.rb to resolve a bug with the register method