Add search method into User model
Clean code