redirect to index when user did not login