Added endpoints for twitter authentication.