Send the dean to the right place after logging in