Made server HTTPS added a few other features