controller and view for students