refactor pages controller
css - responsive design