add function to check empty value
bug fix: check empty value of user_id
add restore active product by userid