Refactored login logic out into its own activity so that it can be dropped
anywhere.  Also forced users to login before upvoting posts.