fixed getPrefByUserEmail
Merge branch 'master' of https://github.com/GuillaumeDerval/SINF1225