adding factory for storing and retrieving user information

updating method view controller to use the UserInfo factory to store/retrieve networkId and networkToken

issue #45