restful methods( not working)