Added the email and username availability code.

This code section checks if the email or passwords are already in use.