Changed session function names