View and initDB updated. (+ primary key for ResetPwd)