Gets rid of duplicate elements;

*   Rendering to be taken care of in js
Fixes homepage redirect url