Added a little debug to the code

Draft controller #index