updated twitter.py to store reference to form class rather than call it