fixed issue with return statement from decorator and created method for restful listing