tried out getPosts and it's working fine. changed user-api to user instead
able to show multiple titles but it's calling the api too many times that it starts to lag