allows logged in user to edit the fields that a professor can edit