session post and put works