Removed database access in static_pages_controller