Pull out userId to Common

The Home and Vote pages both need to know about the userId, so we pull
it out to the Common lib to deal with expiring properly.