add authentication
auth before app load if prod
add mock api for development
add envify for process.env.NODE_ENV