added contact and patterns routes