Corrected code for getting default usergroup and moved the code to the plugins abstract admin model. Deleted routine from plugin code as the abstract code will do for all plugins.