adding global variables to the user wrapper. creating a new view for connection.