Isolated change for the student controller only. When the user is deleted from the database, the logged in user will automatically be routed to the login screen.