check if user entered correct address