UI for teacher login and registration