Updated session management & sign out (test ver)