new class for holding userInfo

data that are specific to a user are now held by a particular class
named userinfo
method used is static so data is always accessible