Added unit tests for Angular authentication services
Cleanup express routes and controller. Modularized database connection and global error handling.