Fixed login display issue by using button