Use EncoderFactoryInterface instead EncoderFactory
Fix: get username from session