fixed some stupid logic in the router for adding student