Registration and add user works(but should be reworked)