model new user changed, setUser problem

object cannot be set cookie in user /ogin()