working on save_url in database.js