added some user authentication methods