I'm trying to get the portal object after user login to create a folder. Right now, I'm using the below event subscribers. Is there a better way to do this?

```
<subscriber
    for="*
         Products.PluggableAuthService.interfaces.events.IUserLoggedInEvent"
    handler=".subscribers.createProfile"
/>

def createProfile(obj, event):
    portal = getToolByName(obj.REQUEST.PUBLISHED, 'portal_url').getPortalObject()

```