updated register page to a model, and created register modal, resolved #8