Worked on sessions, bug in signing out sequence