Using Console to interact with the database