With the login portlet you create a login interface to a web page. This is used for the pages you only want to be available for a certain group, not the public.The login portlet is also utilized by the users who have permission to edit the web site or parts of it and should have access to editing mode.