Updated db script
Changed login from username to email.
Added email instead of user