refactored contact routes