moved layout to index.php
removing layout stuff from here
removing layout stuff