add tweet function to user model