added create, find, delete functions to Post