making the login form as a UI Component that can be used in multiple locations