Add star rating to write page