add validations for doctor model
fix nested resource routing

fixes #23