Simplified some of the cloud code to be more modular in prep for non-facebook authentication. The navbar still needs a bit of finessing to get the admin button to show up automatically