Changed the Products page when login and Checking nonzero elements