Refactored to app.route pattern
Added profile html
Added database credentials