added tests for logged in/out custom routes
added tests for logged in/out custom routes