connections to db now work
Finnished registration, it submits to database
Committing changes made