Fixed ajax call + configured the server to start using the database. still WIP and errors exist