fix bugs in calendar, navigation and student show page when student doesn't have a team_id