Merged from dani, '	login working with foursquare,twitter and self '