added code for user authentication related models.