test app index action with logged inuser