finish register page prototype