fix the password bug and prepopulate email