Add get and post handlers prototypes