added teachermanager and cleaned up login form (thanks matthew)