added .idea files to gitignre
addes pages controller