login and match test