added rank to index.ejs