Implement HTTPS for GUI