Set up loading of users from database.