continues work on compare
implements compare user search logic