logging in is working for #756
creating new corpus in existing user works and search works for #756
for #756 creating new users is working in chrome app and in couch app. ready for testing upgrade of existing users...