API fixes
correct link for widgets
reduce database load
save search query and page for when user uses back button