handin server and client