Fixed createAccount when user enters null in fields