Connects to mongo database. Allows teachers to sign up and be added to the database. Working on login