refactor, add decorators for http methods