added register page, resolved #7.