added tests custom routes
Added a bunch of tests to make sure user is logged in when submitting and editing and such