Adding extra credit get and post methods