Wrote and passed test for user logging out