login and logout server integration 2