Add json api
Fix bug when no match is in_progress
Update styling, add flash messages and better redirects
Improved styling