creates users database and basic auth