Added login functionality to product page