fixed encrypt default for ubnt
eliminated template files for client