Fixed validation for sell book and register forms