basic login

basic login/logout stuff