replacing getSingleResult() with getResultSet() in getPEbyEmail()