added basic user authentication and login/register views