add login, transaction method