added auth and user login/logout
added auth and user login/logout