Add sidebar games backend support
Switch main page contents
Reorder sql statement
Fix sidebar css and show links