Added escapes for database for security