fix login button issue