Fixes bug

Fixed bug with redirecting users while connecting twitter account.