add session log in/out