updates to the user model for authentication