converted to MONGO_URI
uid to just id; updated mongo driver
fixed login bug