If not logged it, askes if user wants to login or use key

@stowellm #31 
I'm not sure if this is just Github, but is if(runUploadSanityChecks()) really indented like that?  There's a few places in this file indentation seems wrong.