Redirection to correct cart page if user is logged in