Adding paging and search for users endpoint in users controller