added routes updates pages controller and added header links