Created User resource
Completed user authentication and log in functionality