added comment feature and checked login feature