There's a thousand ways to do this, but this would be easiest to explain:
 
	1. Go to this file and after this line
 
	https://github.com/nabeelio/phpvms/blob/dev/app/Http/Controllers/Frontend/HomeController.php#L16
 
	 
 
	Put this
 
User::find(1)->attachRole('admin');
	2. Go to your home page (http://siteurl.com/) and refresh the page and it should be there again.
 
	3. Remove the line of code
 
	This is assuming you are User number 1 in your database (id of 1 in the users table). There are other ways to do it such as putting it in the routes file, editing the database tables (but not recommended as it adds it into a few), using the Auth::user() instead once you are logged in.