Services refactoring
Added common lock for /control/<uid> to ensure data consistency