Replace find_by with find_by_email to be compatible with rails 3.2

find_by was introduced in rails 4, since a lot of apps still uses rails 3.2, it is good to use find_by_email since i had to define find_by method in user.b model to get the gem working perfectly.