appserver: added assign_job_to_user function, catering to <ASSIGN job_id='...' regid='...'/>