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.
Merge pull request #35 from tpkelly/feature/login-expiry

Pull out userId to Common