refactor registration and profile page into pages.ml