now we can log in too
fully implement login and logout