added textfields and correctly used optionals to make create account flow work