add login to karma