added teacher controller