Fixed registration of new users. All validity works as well and all

database is filled out

Fixed #80