Making a singleton from the EntityManager. Solving bug because of the
exlcusion logic for Profile