Modularized dashboard.js by making custom function of ajax posting
created custom function to handle ajax get requests
Added resource.php to handle ajax get requests so main.php can focus on handling post requests
Added resource.php to handle ajax get requests so main.php can focus on handling post requests
changed json key for posting a team operation
Implemented a seemless transition when acception a team's join request