add validations for doctor model
Fix nested resource routing

fixes #23