fix the app for development without AWS cred
add n+1 to view