Redirect issue

Prevent application from infinite loop when directed home.