Using Input::has function
Move Route::filter('auth.api') to filters.php