Created register.ejs and front-end functionality