Separated laravel from front end