rev #5 poplogin, bug fix wrong login post url, bug handle redirect if customer already logged in