fixer usermanagerstatic and added some minor changes