base class for identity component, resize login form