Updated User file

Updated User class to support the authentication method