Updated studnetscontroller