register functionality working - ready for first deployment