fixed email formatting issues
changed secret key to password field