Recipe adding refactored and validation added