Added login function to Student controller and view.