add logged in user session property
simplify mapping between python api and request. add some more functions
add some more tests