Changed Pagination to use "before_id" instead of "page" for messages