update team model to call user with course
move current_user_is... to application helper to use in views