added some functions. we can now get, post, delete, etc