Added possibility to register via password