removed the use of the singleton in usermanager

The context was not being updated, and causing problems