Replaced sid with username