Specific validation for loan actions

Switch statement to specify validation rules for different actions