fix login button double click error