debuged sign in and out for product#index