reimplemented index page using jade as a templating engine