fixed user registration part

now a user can be added via the web browser.