added the rest of the get and post methods