add static_pages controller
finish static pages and update database config with host specified for proper psql setup