Added routes to api.php and empty functionbodies