Adding a settings page and updated the permissions