Added email field to registration