User registration - part 1.

User entries validation function created.
User recording function in progress.