fixed some userdb stuff. Create user now works