A bunch more initial setup stuff, trying to get user profile linking working