refactors code in user and organization model