Added logic to generate unique filename for image before it's stored. Updated index view for bugs