added decorator to handle authenticated users that try to access the login pages or the home page
fixed tests by adding logout user helper method