fixed redirect loop on index
Merge pull request #17 from Nayshins/redirect-loop

fixed redirect loop on index. good schtuff!