Made changes to users model to comply with Laravel upgrade.
Fixed the routes to check for the page_type table.
Updated .gitignore.