Removed redundant code
Re-worked registration forms for students and teachers