Removed redundant code from tutorial controller & index view.