changed teacher login page to use new UI