user store procdure to get data with paging