Fixed bug in user creation with invalid password, improved creation methods now returning an array of ids