registering users works now