file existing and creating user and db fixes: