Added attr_accessor to user model