removed useless session wrapper