Working on getting authentication to work with local database.