Added security
Corrected DATABASE_URL parsing.