Added error messages for failure in authentication and tweet