Using Thread.current for users in model