add jam and login flow