Configure local, production, and testing databases; create users table