Updated several PHP files

Fixed typos
Updated index.php

Fixed ID of registration form