added implementation of LoginSpecification for user
Refactoring: moved doctrine helper to infrastructure