loginclass begin