added a an api for authentication and updated the user class