fix card for not loggined user and try to improve performance