automatic registratin of post() method