fixed terrplant and adding gae/openid/login capabilities