implemented session feature (login/login)