making form params optional if customer id is supplied