added basic user authentication login/register