Modified register form, added email confirmation, and fixed Date format