Hide 'add an assignment' in navbar when teacher has no courses