made /transfer do more application logic