local and twitter auth working