Adding custom routes and login tests