Finish functionality to check whether the user is an instructor