Basic stubs created, some data verification, absolutely no formatting.
added user insertion into db
added check to db to reject registration if username exists
Merge branch 'Task-647' into develop