added utils
fixed session / profile loading