added tests for routes if user is not logged in
added tests for templates if user is not logged in