made database manager serializable and accordingly changes done in
groupservice