fix login class to new html structure