slighlty change how to retrieve GET datas in controllers, and start the db class