split userinfo
inserted new function

so that we can easily make UserInfo in case we already have User object