trying to get rid of 404 on register-post