Restore the profile from session