move auth middleware to middleware file w/ tests
move redirectToDashboard middleware to middleware file w/ tests
stub out redirectToSignup, unsure how to test
move clearNotifications