addcourse throws exception if youre not admin and manageaccount throw
exceptions if not logged in