implented classes for https login