Fix bug in userAutoLogin function, return null always
Response generation factoring, Autologin script added in DI container starting