changed command structure for better reusage, fixed bug in twitterlogin