Edited User and UserThread entities
Added User validation