reroutes properly to stdnt page