Debugging and Admin Functionality Part-1

Group functionality bugs has been fixed.
Some admin functionality has been transfered.