Created pages controller and home page