yui: add wwwroot to redirect on logout
simplify user_login check and set default user email from userinfo