added changes to comments api search and login/out