Issue with creating admin account for first time

This does work but my primary problem is that users cannot register because of that problem.