Changed EntityManager dependency with EntityManagerInterface in User class