adding login, registration and signout.