Update endpoints for finding valid structures and add endpoint for structures history
Add username parameter to endpoints for finding valid structures. Add endpoint for structures history with search capabilities. Refactor and clarify concept of lines of uuid.