Added auth to api

Turns out the auth wasn't working now that laravel 5 now uses
middleware. So "before" in route group was replaced with "middleware".