changing session model
fixing the build