added edit functionality, settings tab, comment option