Slim PHP api created, connected to mysql