added GET method for history access, need to add DELETE method