Made log in class