Fixes to creating user and group