create login class ,layout