added login method en signout