add post method to project