Added /api/logout route
Using PHP 5.4 array notation