Structuring the service and dao layer for user and group