#96: Added authorization after registration. Fixed bug with sex
#96: added unique userName and email validation
Resolved conflicts