move UserInfo to separate file