DRY'ed up code by putting chart stuff into a service
Fixed errors in is_manager and is_owner methods