modify registration and teachers view