Added possibility to register new user