added dot env to test, fixed indentation
added pages controller