start json process
session management
add constants for magic values