login and check field