added user database api