API Updated installer to better check permissions
BUG Fixed create database