Fix session get on server side