Add hook before create user