adding localhost to database