Adding http and resource methods