add a preliminary profile page and support ejs pages