added contact page to static_pages and introduced a function in ruby