working on the session for the admin