Checking first if inserted station exist in database.