Fixed "please login" issue on detail view