database should be created before user