Got live email checking working.
Moved entire register script to seperate file.
worked on the actual application part of the website