Handing logout and adding a web client test for user.