Sessions are basically done, modified the test code up a little bit, not working yet though