using request mapping for methods to make restful features