Create sessions from JSON instead of form data