Adding session manage. this can fail