fix login button bug