Updated test cases for logging in and logging out.  Added error catch all to remove stack traces.