Redirects to student or admin home page