added authenticate user before adding to cart. Need to fix it so that after authenticating it delivers user to cart index not home index