Secure app with user permissions; add specs to confirm permissions are configured correctly

boiler plate code, remove