implemented agree to terms functionality for the student