Added e-mail to register, sql database and JS checking. inserting the e-mail into the database, will use for password reset later on