Refactor and clean up server code

- Restructure folder directory
- FIx facebook login route
- Refactor user controller logic to model
- Fix integration test bugs