redirecting to friends index action after login in