Fixes bug in user creation action.