Search function and withdrawal view