[#7] Complete WIP of using the security provider to load users from the DB