allow running post_login separately