Successfully made the Login Controller not make duplicate user entries in the database. Should change it to use .then() promises though instead of nested callbacks.