added database as user provider