changed the schema so that the _id of users is just their username, which is unique
implemented user login and signup