built out login verification w. mongodb.