login and logout

starting this part