Loans Helper and some work on repay a loan

Signed-off-by: Yasen Yankov <iasen.iankov@gmail.com>
reverting the modification of the default interface in zend auth


Signed-off-by: Yasen Yankov <iasen.iankov@gmail.com>