fix a devise authenticate bug, fix a carrierwave bug, add trade unique number