changed database connections to 30. added select action for static_pages