Added the authorization file for database credentials
Added input validation/sanitization.