Fixed permissions error when creating new user