Adding sessions for logging in and logging out