added elgg_get_session()