Improve register page and fix selector bug