sql write bindings are working on the registration page