Search function all working, Validation not yet