fixed balance leaves calculations
fixed for setting from email_id to current_user's email id