updated library view to include URL, updated model code to include URL being written to DB