add new get and post methods