Update user_card partial with conditional and correct div nesting