change where clause to find user bet