fixed big where visiting the sign up route with an invalid user would incorrectly redirect