Completed log in and log out features with session management