Added searching and sorting to Users and documents, removed sorting from companies