Add tweet function to static pages controller