most of thursday's login/email stuff