loginTemplate added