add simple get and post method