move md5 handler from server to client