Linking the pi and the user