Register form now working

Is now actually interacts with the DB
Revert "Register form now working"

This reverts commit d0fc48df0a15169b00c5c4e2325362d57aecfb27.