Added Pagination and otr backend and other features