finished click to login part. todo: popup.html, auto login onupdated?