made all methods function with https