teachers controller and navigation