Make student sign in and redirect after registration