added login/logout/signup stuff