Remove hardcoded user class association

Used [Doctrine's ResolveTargetEntities](http://symfony.com/doc/current/cookbook/doctrine/resolve_target_entity.html) to remove the hardcoding