moved job session to backend, fixed #2