Added auto changing to companies for logged users