web client - login and logout working