Added learn API

The login secret for which the transactions' categories are to be changed.