added teacher functionality
changes to teacher methods