I suggest just returning if not logged in. But this is [my opinion](http://www.mrclay.org/2013/09/18/when-reasonable-return-early/), not an Elgg guideline.