update depreciated functions

Deprecated in 1.8: isloggedin() is deprecated by elgg_is_logged_in()