Fix comments bug
Add rest api authentication