Demo api login, post and comment