Jason: Added register functionality