switched from some custom hooks to core hooks (register_validate & register_post)